package com.spring.springbucks.repository;

import com.spring.springbucks.model.CoffeeOrder;

import java.util.List;

/**
 * @author zhf
 * @date 2019-08-22
 */

public interface CoffeeOrderRepository extends BaseRepository<CoffeeOrder, Long> {
    List<CoffeeOrder> findByCustomerOrderById(String customer);
    List<CoffeeOrder> findByItems_Name(String name);
}
